package com.newdjk.newdoctor.ui;

import android.content.Intent;
import android.text.TextUtils;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;


import com.newdjk.newdoctor.BasActivity;
import com.newdjk.newdoctor.R;
import com.newdjk.newdoctor.entity.GetContactInfoEntity;
import com.newdjk.newdoctor.utils.Contants;
import com.newdjk.newdoctor.utils.SpUtils;

import org.greenrobot.eventbus.EventBus;

import java.util.List;

import butterknife.BindView;
import butterknife.OnClick;

public class PaySuccessActivity extends BasActivity {

    @BindView(R.id.complete_btn)
    Button completeBtn;
    @BindView(R.id.pay_type_tv)
    TextView payTypeTv;
    @BindView(R.id.pay_money_tv)
    TextView payMoneyTv;
    @BindView(R.id.pay_type_iv)
    ImageView payTypeIv;
    @BindView(R.id.get_note_tv)
    TextView getNoteTv;
    @BindView(R.id.ll_des)
    LinearLayout mContainer;

    private String go_path = "";
    private double payPrice;
    private int PayChannel;
    private GetContactInfoEntity mGetContactInfoEntity;


    @Override
    public boolean IsShowBackIcon() {
        return true;
    }

    @Override
    protected String setTitle() {
        return "支付结果";
    }

    @Override
    protected int initViewResId() {
        return R.layout.activity_pay_success;
    }

    @Override
    protected void initView() {
        String address = "";
        if (!TextUtils.isEmpty(address)) {
            mContainer.setVisibility(View.VISIBLE);
            getNoteTv.setText(address);
        } else {
            mContainer.setVisibility(View.INVISIBLE);

        }


    }

    @Override
    protected void initListener() {

    }

    @Override
    protected void initData() {

    }


    @OnClick(R.id.complete_btn)
    public void onViewClicked(View v) {
        switch (v.getId()) {
            case R.id.complete_btn:
                this.finish();

                break;
        }
    }

}
